package com.cwy.dao;

import com.cwy.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by asus on 2017/7/13.
 */

public interface UserDao {
    User queryById(@Param("id") long id);
    List<User> queryAll(int start, int limit);
    void insert(User user);
    int update(Long id,String name);
}
